const { src, dest } = require('gulp')
const jsonMinify = require('gulp-json-minify')

function uglifyJson () {
  return src('src/*.json')
    .pipe(jsonMinify())
    .pipe(dest('dist'))
}

exports.default = uglifyJson
